package com.ws.eduservice.service;

import com.ws.eduservice.entity.EduCourse;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ws.eduservice.entity.vo.CourseInfoForm;
import com.ws.eduservice.entity.vo.CoursePublishVo;
import com.ws.eduservice.frontvo.CourseWebVo;

/**
 * <p>
 * 课程 服务类
 * </p>
 *
 * @author ws
 * @since 2024-12-04
 */
public interface EduCourseService extends IService<EduCourse> {

    String addCourseInfo(CourseInfoForm courseInfoForm);

    CourseInfoForm getCourseInfo(String couserId);

    String updateCourseInfo(CourseInfoForm courseInfoForm);

    CoursePublishVo getCoursePublishVoById(String courseId);

    Boolean deleteCourseById(String courseId);

    CourseWebVo getCourseFront(String id);
}
